#ifndef DOPPLERCONFIGURE_H
#define DOPPLERCONFIGURE_H

#include <QObject>
#include "Struct.h"
#include <QList>

class DopplerConfigure : public QObject
{
    Q_OBJECT
public:
    ~DopplerConfigure() ;
    static   DopplerConfigure* Instance() ;

    int  ReadConfig(QString& path_) ;
    void SaveConfig(QString& path_) ;
    void InitCommonConfig();
    void InitGroupConfig(int nGroupId_);
    void InitLawComfing(int nGroupId_);

protected:
    explicit DopplerConfigure(QObject *parent = 0);
    static   DopplerConfigure* m_pConfig ;



public:
    FILE_HEADER      header ;   //
    COMMON_CONFIG    common ;   //
    GROUP_CONFIG     group[setup_MAX_GROUP_QTY] ;
    unsigned char*   m_pData  ;
    QList<MATERIAL*>* material ;
signals:

public slots:



};

#endif // DOPPLERCONFIGURE_H
